/**
 * 字符串中替换某一字符，如"_old_"替换为"/old/"
 * @param oldStr
 * @param oldC  旧的字符
 * @param newC  新的字符
 */
var Replace = function (oldStr, oldC, newC) {
    if( oldStr.indexOf(oldC) < 0 ){
        return oldStr;
    }
    var newStr = oldStr.replace(oldC,newC);
    return Replace(newStr, oldC, newC);
};

exports.Replace = Replace;